package com.dataseek.iot.mysql.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author cc
 * @since 2021-09-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "字典")
public class Dict implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "dict_inner_id", type = IdType.AUTO)
    private Long dictInnerId;

    /**
     * 参数编码
     */
    @ApiModelProperty(value = "参数编码",required = true)
    private String paramCode;

    /**
     * 参数名称
     */
    @ApiModelProperty(value = "参数名称",required = true)
    private String paramName;

    /**
     * 参数类型
     */
    @ApiModelProperty(value = "参数类型",required = true)
    private String paramType;

    /**
     * 数据类型
     */
    @ApiModelProperty(value = "数据类型",required = true)
    private String dataType;

    /**
     * 参数单位
     */
    @ApiModelProperty(value = "参数单位",required = true)
    private String paramUnit;

    /**
     * 标签
     */
    @ApiModelProperty(value = "参数标签",required = true)
    private String tag;

    /**
     * 创建时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private String createTime;

    /**
     * 更新时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private String updateTime;


}
